﻿
@{
    ViewBag.Title = "Mitek上报系统";
}

@{var menulist = new Mitek.Web.Controllers.ReportController().GetReportField();}

<div class="leftslide">
    @foreach (var item in menulist)
    {
    <ul class="@item.Type">
          @foreach (var item1 in item.MenuChildF) { 
            <li><a href="javascript:void(0);" fid="@item1.Fid">@item1.Name</a></li>
          }
    </ul>
    }
    <div class="clear"></div>
</div>
<div class="rightslide">
    <ul>
        <li><a href="javascript:void(0);" type="knee" id="1">Knee 膝盖</a></li>
        <li><a href="javascript:void(0);" type="shoulder" id="6">Shoulder 肩膀</a></li>
        <li><a href="javascript:void(0);" type="smalljoints" id="9">Small Joints 小关节</a></li>
        <p class="clear"></p>
    </ul>
</div>

@using (Html.BeginForm("create", "report", FormMethod.Post, new { id = "myform", @class = "form" }))
{
    @*<input type="hidden" name="miteksource" id="miteksource" />*@
<div class="rightcontent">

        <h2>上海复旦大学附属中山医院</h2>
        <div class="reportdata">
            <div class="leftdata">
                <span class="lefttitle">Mitek</span>
                @foreach (var item2 in menulist)
                {
                    foreach (var item3 in item2.MenuChildF)
                    {
                        <ul class="@item2.Type" fid="@item3.Fid">
                            @foreach (var item4 in item3.MenuChildS)
                            {

                                <li>
                                    <div class="left-zb">@item4.Name</div>
                                    <div class="right-zb">
                                        <div class="data-wrap">
                                            <input type="text" name="@item4.FName" id="@item4.FName" class="required digits" />
                                            |
                                            <i>台</i>
                                        </div>
                                    </div>
                                    <div class="clear"></div>
                                </li>
                            }

                        </ul>
                    }
                }
            </div>
            <div class="rightdata">
                <span class="righttitle">Artherx</span>
                <ul>
                    <li>
                        <div class="left-zb">手术台数</div>
                        <div class="right-zb">
                            <div class="data-wrap">
                                <input type="text" name="ArtherxCount" class="required" />
                                |
                                <i>台</i>
                            </div>
                        </div>
                    </li>
                </ul>
                <br /> <br />
                <span class="righttitle">Smith&Nephew</span>
                <ul>
                    <li>
                        <div class="left-zb">手术台数</div>
                        <div class="right-zb">
                            <div class="data-wrap">
                                <input type="text" name="SmithCount" class="required" />
                                |
                                <i>台</i>
                            </div>
                        </div>
                    </li>
                </ul>

            </div>
            <div class="clear"></div>
        </div>


        <div class="data-summar">
            <span>今日总计：</span>
            &nbsp;&nbsp;
            <span>Miket：30&nbsp;台</span>
            &nbsp;
            |
            &nbsp;
            <span>竟品：20&nbsp;台</span>
        </div>
</div>
<div class="subit-area">
    <div class="leftarea">
        <ul>
            <li><span class="ready"></span>准备上报</li>
            <li><span class="finshed"></span>上报完成</li>
            <li class="clear"></li>
        </ul>
    </div>
    <div class="rightarea">
        <a href="javascript:void(0);">2 上报</a>
        <button type="submit" class="sub-btn">确认提交</button>
    </div>
    <div class="clear"></div>
</div>
}

@section scripts
{
    <script src="~/Content/js/jquery.validate/jquery.validate.min.js"></script>
    <script src="~/Content/js/jquery.validate/messages_zh.js"></script>
}